package psn.qiuyiping.autocad.dxffile;

@Dxf0Name("STYLE")
@SubClassName("AcDbTextStyleTableRecord")
public class DxfTextStyle extends DxfTableRecord {
    @DxfCode(40)
    double height;
    @DxfCode(41)
    double widthFactor;
    @DxfCode(50)
    double oblique;
    @DxfCode(71)
    double textFlag;
    @DxfCode(3)
    String fontFile;
    @DxfCode(4)
    String bigfontFile;
    @DxfCode(1071)
    double ttFlag;
    
    public boolean isShape(){
        return (flag & 1) > 0;
    }
    
    public boolean isVertical(){
        return (flag & 4) > 0;
    }
}
